package org.ctstudio.oa.duty.bean;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

public class LeaveApply extends Apply {
  private static final long serialVersionUID = -7057816267938593653L;

  private Integer leaveType;
  private LocalDate fromDate;
  private LocalDate toDate;
  private LocalTime fromTime;
  private LocalTime toTime;
  private String approver;
  private LocalDateTime approveTime;
  private String suggestion;

  private long totalTimeSecond;

  public Integer getLeaveType() {
    return leaveType;
  }

  public void setLeaveType(Integer leaveType) {
    this.leaveType = leaveType;
  }

  public LocalDate getFromDate() {
    return fromDate;
  }

  public void setFromDate(LocalDate fromDate) {
    this.fromDate = fromDate;
  }

  public LocalDate getToDate() {
    return toDate;
  }

  public void setToDate(LocalDate toDate) {
    this.toDate = toDate;
  }

  public LocalTime getFromTime() {
    return fromTime;
  }

  public void setFromTime(LocalTime fromTime) {
    this.fromTime = fromTime;
  }

  public LocalTime getToTime() {
    return toTime;
  }

  public void setToTime(LocalTime toTime) {
    this.toTime = toTime;
  }

  public String getApprover() {
    return approver;
  }

  public void setApprover(String approver) {
    this.approver = approver;
  }

  public LocalDateTime getApproveTime() {
    return approveTime;
  }

  public void setApproveTime(LocalDateTime approveTime) {
    this.approveTime = approveTime;
  }

  public String getSuggestion() {
    return suggestion;
  }

  public void setSuggestion(String suggestion) {
    this.suggestion = suggestion;
  }

  public long getTotalTimeSecond() {
    return totalTimeSecond;
  }

  public void setTotalTimeSecond(long second) {
    this.totalTimeSecond = second;
  }
}
